#ifndef MODELWINDOW_H
#define MODELWINDOW_H

#include "Controls/vxgraphicsview.h"
#include "Controls/vxdockselector.h"

class VxTextItem;


class ModelWindow : public QMainWindow
{
	
	Q_OBJECT
	
public:
    ModelWindow();


public slots:
	void setScale(int scale);

private:
	VxTextItem * dtext;
	VxTextItem * dtext2;
	QGraphicsScene * _textScene;
	QGraphicsScene * _vectorsScene;
	VxGraphicsView * view;
	QGraphicsItemGroup * _group;
	QGraphicsItemGroup * _group2;
	VxDockSelector * _ldock;
	VxDockSelector * _rdock;
	VxDockSelector * _tdock;
	VxDockSelector * _bdock;

	bool load(const QString &f);

	void _createWidgets();
	void _testFont();

private slots:
	void _above();
	void _sunk();
	void _contentsChanged();
	void _updateVectors();
};


#endif // MODELWINDOW_H


